﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easy.Model
{
    public class ViewModel
    {
        public ViewModel(String viewName, String viewDisplayName, int clientType)
        {
            this.ViewDisplayName = viewDisplayName;
            this.ViewName = viewName;
            this.ClientType = clientType;
        }

        [JsonProperty(PropertyName="Value")]
        public String ViewName { get; set; }

        [JsonProperty(PropertyName = "Text")]
        public String ViewDisplayName { get; set; }

        public int ClientType { get; set; }
    }
}
